package dao;

import java.util.List;

import javax.annotation.Resource;

import logic.Item;

import org.springframework.stereotype.Service;

@Service(value = "itemDaoImpl")
public class ItemDaoImpl implements ItemDao {
	
	@Resource(name = "item")
	private ItemDao itemDao;
	
	public List<Item> findAll() {
		return this.itemDao.findAll();
	}

	public Item findByPrimaryKey(Integer itemId) {
		return this.itemDao.findByPrimaryKey(itemId);
	}
}